package com.crm.business.oa.service;

import com.crm.common.ka.core.feign.crm.entity.ExamineField;
import com.crm.common.ka.core.feign.examine.entity.ExamineConditionDataBO;
import com.crm.common.oa.entity.VO.OaExamineVO;

import java.util.List;
import java.util.Map;

public interface OaService {

    public void eventNoticeCron();

    public List<OaExamineVO> transfer(List<OaExamineVO> recordList);

    public Boolean initOaData();

    public Boolean initCalendarData();

    public Boolean initOaExamineData();

    public List<ExamineField> queryExamineField(Integer categoryId);

    public Map<String, Object> getDataMapForNewExamine(ExamineConditionDataBO examineConditionDataBO);

    public Boolean updateCheckStatusByNewExamine(ExamineConditionDataBO examineConditionDataBO);

    public OaExamineVO getOaExamineById(Integer oaExamineId);

    public void saveDefaultField(Long categoryId);

    public Boolean updateFieldCategoryId(Long newCategoryId, Long oldCategoryId);
}
